package gz.metro.datasync.utils;

import java.io.Serializable;

/**
 * @author ：张任豪
 * @date ：2022/9/29 15:02
 * @description：
 */
public class Result<T> implements Serializable{
    protected Boolean success = true;
    protected String message;
    protected int statusCode;
    protected T businessObject;

    public Boolean isSuccess() {
        return this.success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public T getBusinessObject() {
        return businessObject;
    }

    public void setBusinessObject(T businessObject) {
        this.businessObject = businessObject;
    }

}
